﻿<template id="@(ViewBag.PageTemplate)">
    <div class="layout-page-content">
        <el-tabs type="border-card" class="layout-page-tabs">
            <el-tab-pane>
                <template #label>
                    <span class="layout-page-tabs-label">
                        <el-icon><Lock></Lock></el-icon>
                        <span>账号安全策略</span>
                    </span>
                </template>
                <component is="@(ViewBag.GetCompName("pwd_strategy"))" ref="pwdStrategyRef"></component>
            </el-tab-pane>
        </el-tabs>
    </div>
</template>
@await Html.PartialAsync("PwdStrategy")
<script type="text/javascript">
    var @(ViewBag.PageName) = {
        template: "#@(ViewBag.PageTemplate)", data() {
            return {
                path: "@(ViewBag.PagePath)"
            }
        },
        components: { @(ViewBag.GetCompName("pwd_strategy")) },
        methods: {

        },
        mounted() { }
    };
</script>